<?php


	namespace app\home\validate;


	class LoginValidate extends Base
	{

		protected $rule = [
			['code','require','code不能为空'],
			['encryptedData','require','encryptedData不能为空'],
			['iv','require','iv不能为空'],
			['session_key','require','session_key不能为空'],

		];


		protected $scene = [
			'login'=>['code'],
			'getUserInfo'=>['encryptedData','iv'],
		];

	}